package leaf.science.ui.jogwheel
{

import flash.display.MovieClip;


[Embed(source="../library/JogWheel.swf", symbol="JogWheelRange")]
public class JogWheelRange extends MovieClip
{
	
	public var start:Number = 0;
	private var _end:Number = 0;
	
	public function JogWheelRange()
	{
		stop();
	}
	
	// value = 0 -> 1
	public function set end( value:Number ):void
	{
		_end = value;
		gotoAndStop( Math.round( value*360 ));
	}
	
	public function get end():Number
	{
		return( _end );
	}
}
}